function hasAccountBeenSet(){
	return getUsername() && getPassword();
}

chrome.extension.onRequest.addListener(function(request, sender, sendResponse) {
	var ipgw = new IPGW(getUsername(), getPassword(), request.cmd);
	ipgw.exec();
	sendResponse('done');
});
